diff options
Diffstat (limited to 'src/routes/(app)/payment/[id]/print')
| -rw-r--r-- | src/routes/(app)/payment/[id]/print/+server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/payment/[id]/print/+server.ts b/src/routes/(app)/payment/[id]/print/+server.ts index 2fdfc8c1..aab6d3f4 100644 --- a/src/routes/(app)/payment/[id]/print/+server.ts +++ b/src/routes/(app)/payment/[id]/print/+server.ts @@ -2,6 +2,6 @@ import { auth, post } from "$lib/utils"; import { json } from "@sveltejs/kit"; export async function POST({ cookies, request }) { - let body = await request.json(); - return json(post("/print", body, auth(cookies))); + const body = await request.json(); + return json(post("/print", body, auth(cookies))); } |
